package com.nciae.service;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nciae.po.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Guoliyu
 * @since 2022-03-30
 */
public interface ITeacherService extends IService<Teacher> {

    List<Teacher> findAll(String username);

    void add(Teacher teacher);

    void update(Teacher teacher);

    void delete(Long id);

    Teacher findTeacherById(Long id);
}
